package com.goldenlight.fvms.manager.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author luocx
 * @since 2018-12-23
 */
@TableName("tb_company")
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 公司名称
     */
    @TableField("NAME")
    private String name;

    @TableField("PID")
    private Long pid;

    @TableField("TIME_STAMP")
    private LocalDateTime timeStamp;

    /**
     * 操作人
     */
    @TableField("OPERATOR")
    private String operator;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public LocalDateTime getTimeStamp() {
        return timeStamp;
    }

    public void setTimeStamp(LocalDateTime timeStamp) {
        this.timeStamp = timeStamp;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    @Override
    public String toString() {
        return "Company{" +
        "id=" + id +
        ", name=" + name +
        ", pid=" + pid +
        ", timeStamp=" + timeStamp +
        ", operator=" + operator +
        "}";
    }
}
